clash for linux 的设置与 web 控制台 | 您所在的位置:网站首页 › linux clash gui › clash for linux 的设置与 web 控制台 |
This article was last updated on days ago, the information described in the article may be outdated. 写在前面我用的是不带控制界面的 clash,也没有托盘图标,于是我自己写了个 systemd service 来进行管理 systemd service将如下内容保存在 /etc/systemd/system/clash.service 中 12345678910111213[Unit]Description=Clash ServiceAfter=network.target[Service]User=syizeGroup=syizeUMask=0644ExecStart=/usr/bin/clashExecStop=/bin/kill $MAINPID[Install]WantedBy=multi-user.target请将对应的 User 和 Group 换为你自己的用户和组,还有 ExecStart 设置成你的 clash 所在位置 开机启动 1sudo systemctl enable clash.service web dashboard我找到的 clash for linux 的版本是不带控制界面的,需要访问 这个 web 控制台 才能进行控制。后来为了方便访问,我就把他的包都给抓了下来,放在了本地的 nginx 上。 仓库地址 Author: Syize Permalink: https://blog.syize.cn/2021/12/29/clash-web-dashboard-with-nginx/ 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 Syizeのblog! updated at 2021-12-29 # nginx# clash |
CopyRight 2018-2019 实验室设备网 版权所有 |